// 定义根组件
// 引入组件
import React from 'react'
import Test from './components/Test'

export default class App extends React.Component {
  state = {
    x: 1,
    y: 2,
    z: 3,
  }
  render() {
    return (
      <div>
        <hr />
        {/* <Test x={this.state.x} y={this.state.y} z={this.state.z}></Test> */}
        <Test {...this.state}></Test>
      </div>
    )
  }
}
